package com.hopes.bizz.basic.hazard.source.vo;


import com.hopes.bizz.basic.hazard.source.bo.HazHazardSourceOmDetailBO;
import com.hopes.bizz.basic.hazard.source.bo.HazStorageBO;
import com.hopes.bizz.basic.hazard.source.entity.HazHazardSourceEntity;
import com.hopes.boss.admin.api.resolver.DictResolver;
import com.hopes.boss.admin.api.resolver.enums.AdminDictEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/11/3 14:05
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class HazHazardSourceOmDetailVO extends HazHazardSourceEntity {
    private static final long serialVersionUID = -4027408479405760863L;

    private Integer videoNum;

    private String videoCode;

    private Boolean alarmFlag;

    private Boolean netFlag;

//    private Boolean videoFlag;

    private List<HazHazardSourceOmDetailBO> hazHazardSourceOmDetailBOList;

    private List<HazStorageBO> hazStorageList;

    public String getOrgIdStr() {
        return DictResolver.getItemLabelByValue(AdminDictEnum.sys_company, this.getOrgId());
    }
}
